﻿using Cherry.Agile.Enterprise.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace Cherry.Agile.Enterprise.Services.Interface
{
    /// <summary>
    /// 数据字典相关操作
    /// </summary>
    [ServiceContract(Namespace = Unity.Namespace)]
    public interface IOpenCategoryItemService
    {
        /// <summary>
        /// 按键类型ID获取键值列表
        /// </summary>
        /// <param name="CategoryID">键类型ID</param>
        /// <returns>数据字典项列表（包含键值键名）</returns>
        [OperationContract]
        List<CategoryItem> GetItemsByCategoryID(int CategoryID);
    }
}
